package com.lovo.roomProject.student.service.impl;

import com.lovo.roomProject.pojo.StudentDO;
import com.lovo.roomProject.student.dao.StudentDAO;
import com.lovo.roomProject.student.dao.impl.StudentDAOImpl;
import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.*;

class StudentServiceImplTest {

    @Test
    void listStudent() {
        StudentDAO studentDAO=new StudentDAOImpl();
        studentDAO.listStudent();
    }

    @Test
    void getStudentID() {
        StudentDAO studentDAO=new StudentDAOImpl();
        studentDAO.getStudentID(1);
    }

    @Test
    void insert() {
        StudentDO studentDO=new StudentDO();
        studentDO.setName("王五");
        studentDO.setPhone("18888888888");
        studentDO.setGender("女");
    }
}